//StaticTest.java
package com.ylaihui.oop10;

class Chinese{
	static String nation;
	String name;
	int age;
}

public class StaticTest {
	public static void main(String[] args) {
		Chinese.nation = "中国";
		
		Chinese c1 = new Chinese();
		c1.name = "姚明";
		c1.age = 40;

		Chinese c2 = new Chinese();
		c2.name = "马龙";
		c2.age = 30;
		
		c1.nation = "CH";
		c2.nation = "CHINA";
		
		System.out.println(c1.nation); //CHINA
		System.out.println(c2.nation); //CHINA
	}
}
